package cn.dlc.com.service.impl;

import cn.dlc.com.product.entity.Product;
import cn.dlc.com.product.service.ProductService;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class ProductServiceImpl implements ProductService {
    
    public Product findById(String id) throws Exception {
        Product product = new Product();
        product.setId("1");
        product.setName("小明");
        product.setDesc("这个是描述信息");
        product.setBirthday(new Date());
        return product;
    }

    public void save(Product product) throws Exception {

    }

    public void update(Product product) throws Exception {

    }

    public Integer delete(String[] id) throws Exception {
        return null;
    }
}
